package actor.event
{
	import flash.events.Event;
	
	public class TowerEvent extends Event
	{
		public static const UPGRADE_COMPLETE:String = "UPGRADE_COMPLETE";
		
		public static const ATTACK_SPEED_CHANGE:String = "ATTACK_SPEED_CHANGE";
		public static const DAMAGE_CHANGE:String = "DAMAGE_CHANGE";
		public static const RANGE_CHANGE:String = "RANGE_CHANGE";
		public static const BULLET_ID_CHANGE:String = "BULLET_ID_CHANGE";
		public static const HEIGHT_CHANGE:String = "HEIGHT_CHANGE";
		public static const USE_GRID_CHANGE:String = "USE_GRID_CHANGE";
		public static const BULLET_COUNT_CHANGE:String = "BULLET_COUNT_CHANGE";
		
		//由怪物向塔发送，一般在GridVO里面处理
		public static const ATTACK_ME:String = "ATTACK_ME";
		
		public var data:Object;
		public function TowerEvent(type:String, data:Object=null, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			this.data = data;
			super(type, bubbles, cancelable);
		}
	}
}